/* Nord文档主题 */
.markdown-theme-nord {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #2e3440;
  background-color: #eceff4;
}

.markdown-theme-nord h1,
.markdown-theme-nord h2,
.markdown-theme-nord h3,
.markdown-theme-nord h4,
.markdown-theme-nord h5,
.markdown-theme-nord h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #3b4252;
}

.markdown-theme-nord h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #d8dee9;
  padding-bottom: 0.3em;
  color: #5e81ac;
}

.markdown-theme-nord h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #d8dee9;
  padding-bottom: 0.3em;
  color: #5e81ac;
}

.markdown-theme-nord h3 {
  font-size: 1.25em;
  color: #5e81ac;
}

.markdown-theme-nord h4 {
  font-size: 1em;
  color: #5e81ac;
}

.markdown-theme-nord h5 {
  font-size: 0.875em;
  color: #5e81ac;
}

.markdown-theme-nord h6 {
  font-size: 0.85em;
  color: #81a1c1;
}

.markdown-theme-nord p {
  margin-bottom: 16px;
}

.markdown-theme-nord a {
  color: #5e81ac;
  text-decoration: none;
}

.markdown-theme-nord a:hover {
  text-decoration: underline;
}

.markdown-theme-nord strong {
  font-weight: 600;
  color: #3b4252;
}

.markdown-theme-nord em {
  font-style: italic;
}

.markdown-theme-nord del {
  text-decoration: line-through;
}

.markdown-theme-nord ul,
.markdown-theme-nord ol {
  padding-left: 2em;
  margin-bottom: 16px;
}

.markdown-theme-nord ul {
  list-style-type: disc;
}

.markdown-theme-nord ol {
  list-style-type: decimal;
}

.markdown-theme-nord li {
  margin-bottom: 0.25em;
}

.markdown-theme-nord blockquote {
  padding: 0 1em;
  color: #4c566a;
  border-left: 0.25em solid #81a1c1;
  margin-bottom: 16px;
}

.markdown-theme-nord code {
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  background-color: #e5e9f0;
  border-radius: 3px;
  padding: 0.2em 0.4em;
  color: #3b4252;
}

.markdown-theme-nord pre {
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  background-color: #e5e9f0;
  border-radius: 3px;
  padding: 16px;
  overflow: auto;
  margin-bottom: 16px;
}

.markdown-theme-nord pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.markdown-theme-nord table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

.markdown-theme-nord table th,
.markdown-theme-nord table td {
  border: 1px solid #d8dee9;
  padding: 6px 13px;
}

.markdown-theme-nord table th {
  background-color: #e5e9f0;
  font-weight: 600;
}

.markdown-theme-nord table tr {
  background-color: #eceff4;
  border-top: 1px solid #d8dee9;
}

.markdown-theme-nord table tr:nth-child(2n) {
  background-color: #e5e9f0;
}

.markdown-theme-nord img {
  max-width: 100%;
  box-sizing: content-box;
}

.markdown-theme-nord hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #d8dee9;
  border: 0;
}

/* 暗色模式 */
.dark-mode .markdown-theme-nord {
  color: #d8dee9;
  background-color: #2e3440;
}

.dark-mode .markdown-theme-nord h1,
.dark-mode .markdown-theme-nord h2,
.dark-mode .markdown-theme-nord h3,
.dark-mode .markdown-theme-nord h4,
.dark-mode .markdown-theme-nord h5,
.dark-mode .markdown-theme-nord h6 {
  color: #eceff4;
}

.dark-mode .markdown-theme-nord h1,
.dark-mode .markdown-theme-nord h2 {
  border-bottom-color: #4c566a;
  color: #88c0d0;
}

.dark-mode .markdown-theme-nord h3,
.dark-mode .markdown-theme-nord h4,
.dark-mode .markdown-theme-nord h5 {
  color: #88c0d0;
}

.dark-mode .markdown-theme-nord h6 {
  color: #81a1c1;
}

.dark-mode .markdown-theme-nord a {
  color: #88c0d0;
}

.dark-mode .markdown-theme-nord strong {
  color: #eceff4;
}

.dark-mode .markdown-theme-nord blockquote {
  color: #9da5b4;
  border-left-color: #4c566a;
}

.dark-mode .markdown-theme-nord code {
  background-color: #3b4252;
  color: #d8dee9;
}

.dark-mode .markdown-theme-nord pre {
  background-color: #3b4252;
}

.dark-mode .markdown-theme-nord table th,
.dark-mode .markdown-theme-nord table td {
  border-color: #4c566a;
}

.dark-mode .markdown-theme-nord table th {
  background-color: #3b4252;
}

.dark-mode .markdown-theme-nord table tr {
  background-color: #2e3440;
  border-top-color: #4c566a;
}

.dark-mode .markdown-theme-nord table tr:nth-child(2n) {
  background-color: #3b4252;
}

.dark-mode .markdown-theme-nord hr {
  background-color: #4c566a;
} 